<div class="u-action">
    <!-- 已喜欢 把icon-love 改为 icon-loved -->
    <a class="btn-love" href="" title="喜欢"><i class="icon-loved"></i> 456</a>
    <!-- 已收藏 把icon-collect 改为 icon-collected -->
    <a class="btn-collect" href="" title="收藏"><i class="icon-collect"></i></a>
    <span class="share-wrap">
        <a class="btn-share" href="" title="分享"><i class="icon-share"></i></a>
        <div class="social-wrap">
            <i></i>
            <a href="#" class="icon-share-jx" title="分享到金象好友"></a>
            <a onclick="shareTo(this,'sinaminiblog')" href="javascript:void(0);" class="icon-share-sina" title="分享到新浪微博"></a>
            <a onclick="shareTo(this,'qqmb')" href="javascript:void(0);" class="icon-share-tqq" title="分享到腾讯微博"></a>
            <a onclick="shareTo(this,'qzone')" href="javascript:void(0);" class="icon-share-qzone" title="分享到QQ空间"></a>
            <a onclick="shareTo(this,'renren')" href="javascript:void(0);" class="icon-share-renren" title="分享到人人网"></a>
            <a onclick="shareTo(this,'douban')" href="javascript:void(0);" class="icon-share-douban" title="分享到豆瓣"></a>
            <a onclick="shareTo(this,'weixin')" href="javascript:void(0);" class="icon-share-wechat" title="分享到微信"></a>
            <a onclick="shareTo(this,'qqim')" href="javascript:void(0);" class="icon-share-qq" title="分享到QQ好友"></a>
        </div>
    </span>
</div>
<!--bshare 分享按钮主功能js -->
<script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/buttonLite.js"></script>
<script type="text/javascript" charset="utf-8" >
    //预定义bshare分享按钮样式及配置参数
    var bShareOpt = {style:-1,uuid:'38f8de2c-ca33-452c-89f3-4caa71109129',mdiv:-1};
    function shareTo(event, shortName) {
        //自定义设置内容，可动态获取当前页面内相应的参数进行传递
        var url="http://www.bshare.cn/";
        var str_title = "testTitle";
        var str_info = "testSummary";
        var img = "http://static.bshare.cn/images/bshare-logo-main.gif";
        //清除自定义分享内容的方法，在设置前清空，重新自定义内容
        bShare.entries = [];
        //添加自定义分享内容方法，不需要自定义的可以传递，bshare js会主动抓取页面相应值默认
        bShare.addEntry({
            title: str_title,
            url: url,
            summary: str_info,
            pic:img
        });

        //调用相应的分享方法，
        bShare.share(event, shortName);

    }
</script>